﻿<Window x:Class="Wpf3D.Views.LotterHistory"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"        
        Title="LotterHistory" Height="531" Width="500">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="43*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="10" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <DataGrid  AutoGenerateColumns="False" Grid.Column="1" Grid.Row="1" Margin="0" Name="dataGridHistory" MaxHeight="500">
            <DataGrid.Columns>
                <DataGridTextColumn Header="ID" Width="50" Binding="{Binding Id}" />
                <DataGridTextColumn Header="Number" Width="80" Binding="{Binding Number}" />
            </DataGrid.Columns>
        </DataGrid>
        <StackPanel Grid.Column="1" Grid.Row="2" Orientation="Horizontal" Margin="0">
            <Button Name="btnFirst" Height="25" Width="60" Padding="5,0,5,0" Margin="5,0,5,0" Click="btnFrist_Click" >First</Button>
            <Button Name="btnPrevious" Height="25"  Width="60"  Padding="5,0,5,0" Margin="5,0,5,0" Click="btnFrist_Click" >Previous</Button>
            <Button Name="btnNext" Height="25"  Width="60"  Padding="5,0,5,0" Margin="5,0,5,0" Click="btnFrist_Click" >Next</Button>
            <Button Name="btnLast" Height="25"  Width="60"  Padding="5,0,5,0" Margin="5,0,5,0" Click="btnFrist_Click" >Last</Button>
            <ComboBox Height="25" Name="combPageList"  Width="50" SelectionChanged="btnFrist_Click" />
        </StackPanel>
    </Grid>
</Window>
